package org.example.工厂模式.简单工厂模式;

/**
 * @author: 船长
 * @create: 2025-04-16 20:41
 **/

public class Main {

    public static void main(String[] args) {
        PhoneFactory factory1 = new PhoneFactory();
        factory1.create("mi").call();

        PhoneFactory factory2 = new PhoneFactory();
        factory2.create("iphone").call();
    }
}
